package com.nextbusmn.server;

/**
 *  Enum to represent the various services available from server
 *  @author Trent Olson
 */
public enum ServiceType {
	STOP_SERVICE("s"),
	ROUTE_SERVICE("r"),
	MAP_SERVICE("m"),
	UPDATE_SERVICE("u"),
	STOP_INFO_SERVICE("i");
	
  // flag is the key used in the url to call this service
	private String flag;
	
	private ServiceType(String flag) {
		this.flag = flag;
	}
	
	public String getFlag() {
		return flag;
	}
}
